Two spheres rendered on a plane with soft shadows, soft reflections, and antialiasing. Image generated by the raytracer.

Description

In 2024 I programmed a raytracer in the V programming language to render simple geometric shapes with realistic shading based off of light sources and the position of the objects relative to the camera. The raytracer has the following features:

This project was written for a computer graphics class; screenshots of code output were posted here with the instructor's permission. Please contact me if you are interested in viewing the code or would like to learn how raytracing works in more detail.

Screenshots

Three cubes rendered hovering above a plane, note the reflections below. Image generated by the raytracer.